package ProcessControl;

import java.util.IllformedLocaleException;

public class Demo09 {
    //switch 选择结构
    public static void main(String[] args) {
        String grade ="g";
        switch (grade){
            case "A":
                System.out.println("优秀");
                break;
            case "B":
                System.out.println("良好");
//                break;
            case "c":
                System.out.println("及格");
                break;
            default:
                System.out.println("请输入正确的等级");

        }

    }
    
}
